-
Notifications
You must be signed in to change notification settings - Fork 29k
[SQL] Make date/time functions more consistent with other database systems. #7506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…stems. This renames some of the functions that are just merged in order to be more consistent with other databases. Also did some small cleanups.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note that this previously cut right into the middle of string functions so I moved them
|
cc @tarekauel and @davies |
|
LGTM |
|
@rxin Could you do this little fix as well? Why do we switch from day_of_month to dayofmonth? Most SQL implementations use underscores: |
|
Both MySQL and HANA use dayofmonth, without the underscore? |
|
Test build #37759 has finished for PR 7506 at commit
|
|
I've merged this. |
PR #7506 breaks master build because of compilation error. Note that #7506 itself looks good, but it seems that `git merge` did something stupid. Author: Cheng Lian <lian@databricks.com> Closes #7510 from liancheng/hotfix-for-pr-7506 and squashes the following commits: 7ea7e89 [Cheng Lian] Fixes compilation error
This pull request fixes some of the problems in #6981.
__all__so they get exposed